package lib.Base;

import java.io.Serializable;
import java.util.ArrayList;

public class Info implements Serializable {
	/**
	 * Part of the profile object. Stores personal user data.
	 */

	private static final long serialVersionUID = 1L;

	private String FirstName;
	private String LastName;
	private int GebDay;
	private int GebMonth;
	private int GebYear;
	private String About;

	private ArrayList<String> Hobbys;
	private ArrayList<Education> Educations;
	private ArrayList<Workplace> Workplaces;

	public Info() {
		Hobbys = new ArrayList<String>();
		Educations = new ArrayList<Education>();
		Workplaces = new ArrayList<Workplace>();

		this.FirstName = "";
		this.LastName = "";
		this.GebDay = 0;
		this.GebMonth = 0;
		this.GebYear = 0;
		this.About = "";
	}

	public void setFirstName(String FirstName) {
		this.FirstName = FirstName;
	}

	public String getFirstName() {
		return FirstName;
	}

	public void setLastName(String LastName) {
		this.LastName = LastName;
	}

	public String getLastName() {
		return LastName;
	}

	public void setGebDay(int GebDay) {
		this.GebDay = GebDay;
	}

	public int getGebDay() {
		return GebDay;
	}

	public void setGebMonth(int GebMonth) {
		this.GebMonth = GebMonth;
	}

	public int getGebMont() {
		return GebMonth;
	}

	public void setGebYear(int GebYear) {
		this.GebYear = GebYear;
	}

	public int getGebYear() {
		return GebYear;
	}

	public void setAbout(String About) {
		this.About = About;
	}

	public String getAbout() {
		return About;
	}

	public void addHobby(String Hobby) {
		Hobbys.add(Hobby);
	}

	public ArrayList<String> getHobbys() {
		return Hobbys;
	}

	public void addEducations(Education education) {
		Educations.add(education);
	}

	public ArrayList<Education> getEducations() {
		return Educations;
	}

	public void addWorkplace(Workplace workplace) {
		Workplaces.add(workplace);
	}

	public ArrayList<Workplace> getWorkplaces() {
		return Workplaces;
	}
}
